package com.crrc.sandameter.common

object GlobalVariables {
    private lateinit var imagePath: String
    private lateinit var videoPath: String
    private lateinit var filePath: String
    private lateinit var logPath: String


    /**
     * 设置图片保存路径
     */
    fun setImagePath(imagePatch: String) {
        this.imagePath = imagePatch
    }

    /**
     * 获取图片保存路径
     */
    fun getImagePath(): String {
        return imagePath
    }

    /**
     * 设置视频保存路径
     */
    fun setVideoPath(videoPatch: String) {
        this.videoPath = videoPatch
    }

    /**
     * 设置文件下载路径
     */
    fun setFilePath(filePath: String) {
        this.filePath = filePath
    }

    /**
     * 获取文件下载路径
     */
    fun getFilePath(): String {
        return filePath
    }

    /**
     * 获取视频保存路径
     */
    fun getVideoPath(): String {
        return videoPath
    }

    /**
     * 设置日志路径
     */
    fun setLogPath(logPath: String) {
        this.logPath = logPath
    }

    fun getLogPath(): String {
        return logPath
    }
}